import { createStore, combineReducers, applyMiddleware } from 'redux';
import thunk from 'redux-thunk'
import { composeWithDevTools } from 'redux-devtools-extension'
import { login } from './reducers/login'
import { user } from './reducers/user.js'
import { details } from './reducers/details';
const Root = combineReducers({ login,user,details })
const middwares = composeWithDevTools(applyMiddleware(thunk))
export const store=createStore(Root,middwares)
